export default {
	state:{
		currentSelect: {
			price:0,
			image:'',
			name:''
		},
		subText: '',
		difference:[],
		specifications: []
	},
	mutations:{
		setTags(state, arr) {
			state.specifications = arr
		},
		setRows(state, arr) {
			state.difference = arr
		},
		setCurrent(state, {price,image,name}) {
			state.currentSelect.price = price
			state.currentSelect.image = image
			state.currentSelect.name = name
		},
		setText(state, str) {
			state.subText = str
		}
	}
}